﻿@model KpBusiness.Model.Candidate
          
          

@{
    ViewBag.Title = "Edit";
}

<h1>Edit Candidate Informartation</h1>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        

      <div class="personal-details">
        <h2>Personal Information</h2>
        <div class="left-div">
        
          <div class="editor-label">
            @Html.LabelFor(model => model.Fname)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.Fname, new { tabindex = 1 })<br />
            @Html.ValidationMessageFor(model => model.Fname)
        </div>
          <div class="editor-label">
            @Html.LabelFor(model => model.Mobile)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.Mobile, new { tabindex = 3 })<br />

            @Html.ValidationMessageFor(model => model.Mobile)
        </div>
          <div class="editor-label">
            @Html.LabelFor(model => model.Dob)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.Dob, new { tabindex = 5 })<br />

            @Html.ValidationMessageFor(model => model.Dob)

        </div>
         
         <div class="editor-label">
            @Html.LabelFor(model => model.YearsOfExp)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.YearsOfExp, new { tabindex =7  })<br />

            @Html.ValidationMessageFor(model => model.YearsOfExp)
        </div>

        

        
         
        </div>
     
       
      

      <div class="right-div">
         <div class="editor-label">
            @Html.LabelFor(model => model.Lname)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.Lname, new { tabindex = 2 })<br />

            @Html.ValidationMessageFor(model => model.Lname)
        </div>
       <div class="editor-label">
            @Html.LabelFor(model => model.EmailId)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.EmailId, new { tabindex = 4 })<br />

            @Html.ValidationMessageFor(model => model.EmailId)
        </div>
       
       
        
      

        
       
         <div class="editor-label">
            @Html.LabelFor(model => model.Skills)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.Skills, new { tabindex = 6 })<br />

            @Html.ValidationMessageFor(model => model.Skills)
        </div>
      </div>
       </div>
      <div class="clear"></div>

      <div class="Current-job-details">
      <h2>Current job details</h2>
      <div class="left-div">
      
        <div class="editor-label">
            @Html.LabelFor(model => model.CurrentCompanyName)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.CurrentCompanyName, new { tabindex = 8 })<br />

            @Html.ValidationMessageFor(model => model.CurrentCompanyName)
        </div>
       <div class="editor-label">
            @Html.LabelFor(model => model.CurrentCtc)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.CurrentCtc, new { tabindex = 10 })<br />

            @Html.ValidationMessageFor(model => model.CurrentCtc)
        </div>
        
        </div>
      <div class="right-div">
        <div class="editor-label">
            @Html.LabelFor(model => model.Designation)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.Designation, new { tabindex = 9 })<br />

            @Html.ValidationMessageFor(model => model.Designation)
        </div>

          <div class="editor-label">
            @Html.LabelFor(model => model.CurrentLocation)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.CurrentLocation, new { tabindex = 11 })<br />

            @Html.ValidationMessageFor(model => model.CurrentLocation)
        </div>

      </div>
      
       
      
      </div>
      <div class="clear"></div>
      <div class="expected-job-details">
     <h2>Expected Job Details</h2>
      <div class="editor-label">
            @Html.LabelFor(model => model.ExpectedCtc)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.ExpectedCtc, new { tabindex = 12 })<br />

            @Html.ValidationMessageFor(model => model.ExpectedCtc)
        </div>
           <div class="editor-label">
            @Html.LabelFor(model => model.ExpectedLocation)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.ExpectedLocation, new { tabindex = 13 })<br />

            @Html.ValidationMessageFor(model => model.ExpectedLocation)
        </div>
        </div>
    </fieldset>
    <div class="clear"></div>
    <p>
            <input type="submit" value="Save" />
        </p>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>
